package com.nervenets.web.controller.handler.admin.user;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.common.TokenParams;
import com.nervenets.web.validation.Type;
import lombok.Data;

@Data
public class BankCheckParams extends TokenParams {
    @NeedValidation(type = Type.POSITIVENUMBER, description = "银行ID")
    private long bankId;
    @NeedValidation(type = Type.NOTEMPTY, description = "是否通过")
    private boolean success;
    @NeedValidation(type = Type.EMPTY, description = "未通过的原因")
    private String failedReason;
}
